package api.dataStruct
{
	
	import flash.utils.ByteArray;

	public class GameApiInfo
	{
		public var uid:String;//用户id
		public var nick:String;//用户昵称
		
		public var isHost:Boolean=false;//是否为主机
		public var actorName:String;
		public var status:int;//用户状态
		public var zoneId:int;//用户所在区id
		public var roomId:int;//用户所在房间id
		public var tableId:int;//用户所在桌子id
		public var gameId:String;
		public var timeStamp:uint;
		
		public var isBuffer:Boolean=false;
		
		private var _headPic:String;
		
		
		
		public function GameApiInfo(_uid:String="",_nick:String="player",_isHost:Boolean=false,_actorName:String="",_status:int=1,_zoneId:int=0,_roomId:int=0,_tableId:int=0)
		{
			uid=_uid;
			nick=_nick;
			
			isHost=_isHost;
			actorName=_actorName;
			status=_status;
			zoneId=_zoneId;
			roomId=_roomId;
			tableId=_tableId;
		}

		public function get headPic():String
		{
			return _headPic;
		}

		public function set headPic(value:String):void
		{
			_headPic = value;
		}
		public function toString():String{
			return "uid:"+uid+",nick:"+nick+",isHost:"+isHost+", timeStamp:"+timeStamp;
		}
		
		
	}
}